package com.platform.unifiedweb.controller.picture;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * describe:
 *
 * @author rainly
 * @date 2019/11/19
 * @time 4:11 下午
 */
@Controller
@RequestMapping(value = "picture")
public class PictureController {

    @GetMapping(value = "list")
    public ModelAndView list(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/picture/picture-list");
        return modelAndView;
    }

    @GetMapping(value = "show")
    public ModelAndView show(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/picture/picture-show");
        return modelAndView;
    }

    @GetMapping(value = "add")
    public ModelAndView add(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/picture/picture-add");
        return modelAndView;
    }
}
